<div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="ntModalLabel">{:lang("product_category_datils")}</h4>
    </div>
    <div class="modal-body">

       <div class="row clearfix" style="padding-top:12px">
            <div class="col-md-12 column">
                <ul class="nav nav-tabs">
                    <li class="active">
                        <a href="#zh" data-toggle="tab">{:lang('Chinese')}</a>
                    </li>
                    <li>
                        <a href="#en" data-toggle="tab">{:lang('English')}</a>
                    </li>
                    <li>
                        <a href="#pt" data-toggle="tab">{:lang('Portuguese')}</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="zh">
                <table class="table table-striped table-hover ntTable" style="padding-top:0" id='zh'>
                        <tbody>
                            <tr>
                                <td>{:lang("top_rating")}</td>
                                <td> 
                                    {notempty name="$parent"}
                                        {foreach $parent as $k=>$v}
                                                {$v.name_zh}/
                                        {/foreach}
                                    {/notempty}
                                </td>
                            </tr>
                            <tr>
                                <td>{:lang("product_category_name")}</td>
                                <td>{$data.name_zh}</td>
                            </tr>
                            <tr>
                                <td>{:lang("hide")}</td>
                                <td>{$data.is_hide_zh == 3 ? '是' : '否'}</td>
                            </tr>
                            <tr>
                                <td>{:lang('delete')}</td>
                                <td>{$data.is_del_zh == 2 ? '是' : '否'}</td>
            
                            </tr>
                               <tr>
                                <td>{:lang("subcaterories_quantity")}</td>
                                <td>{$childCount}</td>
                            </tr>
                               <tr>
                                <td>{:lang("product_quantity")}</td>
                                <td>{$proCount}</td>
                            </tr>
                               <tr>
                                <td>{:lang("binding_product_properties")}</td>
                                <td>
                                    {notempty name="$childAttr"}
                                        {foreach $childAttr as $k2=>$v2}
                                            {$v2.name_zh}/
                                        {/foreach}
                                    {/notempty}
                                </td>
                            </tr>
                        </tbody>
                    </table>
        </div>
        <div role="tabpanel" class="tab-pane" id="en">
            <table class="table table-striped table-hover ntTable" style="padding-top:0" id='en'>
            <tbody>
                <tr>
                    <td>{:lang("top_rating")}</td>
                    <td> 
                        {notempty name="$parent"}
                            {foreach $parent as $k3=>$v3}
                                {$v3.name_en}/                  
                            {/foreach}
                        {/notempty}
                    </td>
                </tr>
                <tr>
                    <td>{:lang("product_category_name")}</td>
                    <td>{$data.name_en}</td>
                </tr>
                <tr>
                    <td>{:lang("hide")}</td>
                    <td>{$data.is_hide_en}</td>
                </tr>
                <tr>
                    <td>{:lang('delete')}</td>
                    <td>{$data.is_del_en}</td>

                </tr>
                   <tr>
                    <td>{:lang("subcaterories_quantity")}</td>
                    <td>{$childCount}</td>
                </tr>
                   <tr>
                    <td>{:lang("product_quantity")}</td>
                    <td>{$proCount}</td>
                </tr>
                   <tr>
                    <td>{:lang("binding_product_properties")}</td>
                    <td>
                        {notempty name="$childAttr"}
                            {foreach $childAttr as $k4=>$v4}
                                {$v4.name_en}/
                            {/foreach}
                        {/notempty}
                    </td>
                </tr>
            </tbody>
        </table>
        </div>
        <div role="tabpanel" class="tab-pane" id="pt">
            <table class="table table-striped table-hover ntTable" style="padding-top:0" id='pt'>
            <tbody>
                <tr>
                    <td>{:lang("top_rating")}</td>
                    <td> 
                        {notempty name="$parent"}
                            {foreach $parent as $k5=>$v5}
                                {$v5.name_pt}/           
                            {/foreach}
                        {/notempty}
                    </td>
                </tr>
                <tr>
                    <td>{:lang("product_category_name")}</td>
                    <td>{$data.name_pt}</td>
                </tr>
                <tr>
                    <td>{:lang("hide")}</td>
                    <td>{$data.is_hide_pt}</td>
                </tr>
                <tr>
                    <td>{:lang('delete')}</td>
                    <td>{$data.is_del_pt}</td>

                </tr>
                   <tr>
                    <td>{:lang("subcaterories_quantity")}</td>
                    <td>{$childCount}</td>
                </tr>
                   <tr>
                    <td>{:lang("product_quantity")}</td>
                    <td>{$proCount}</td>
                </tr>
                   <tr>
                    <td>{:lang("binding_product_properties")}</td>
                    <td>
                        {notempty name="$childAttr"}
                            {foreach $childAttr as $k6=>$v6}
                                {$v6.name_pt}/
                            {/foreach}
                        {/notempty}
                    </td>
                </tr>
            </tbody>
        </table>
        </div>
        </div>
    </div>
    <!-- <script src="/static/Admin/js/catedetail.js"></script> -->
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span>{:lang('close')}</button>
    </div>